<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/App_MasterPages/layout.Master"
    CodeBehind="ProductDetail.aspx.cs" Inherits="eStore.UI.ProductDetailPage" %>

<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" />
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">
    <portal:mojopanel id="mp1" runat="server" artisteercssclass="art-Post" renderartisteerblockcontentdivs="true">
    <mp:CornerRounderTop ID="ctop1" runat="server" />
    <asp:Panel ID="pnlProductDetails" runat="server" CssClass="art-Post-inner panelwrapper estoredetail">
    <portal:ModuleTitleControlCustom EditText="Edit" runat="server"
        ID="TitleControl" EnableViewState="false" RenderArtisteer="true" UseLowerCaseArtisteerClasses="true" />
            <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
        <div class="modulecontent">
            <fieldset>
            <div class="settingrow misc">
                <div class="image">
                    <asp:Image ID="imgProduct" runat="server" />
                </div>
                <div class="information">
                <div class="name">
                    <mp:SiteLabel id="slblName" runat="server" ResourceFile="eStoreResources" ConfigKey="ProductName" CssClass="settinglabel"></mp:SiteLabel>
                    <asp:Label ID="lblName" runat="server" />
                    </div> 
                <div class="category">
                    <mp:SiteLabel id="slblCategory" runat="server" ResourceFile="eStoreResources" ConfigKey="ProductCategory" CssClass="settinglabel"></mp:SiteLabel>
                    <asp:Label ID="lblCategory" runat="server" />
                    </div> 
                <div class="price">
                    <mp:SiteLabel id="slblPrice" runat="server" ResourceFile="eStoreResources" ConfigKey="ProductPrice" CssClass="settinglabel"></mp:SiteLabel>
                    <asp:Label ID="lblPrice" runat="server" />
                    </div> 
                    <div class="cartadd">
                        <asp:HyperLink ID="lnkAddToCart" runat="server" CssClass="add-cart" />
                    </div>
                <portal:mojoGCheckoutButton ID="btnGoogleCheckout" runat="server" Visible="false" CssClass="google-checkout" /> 
                </div>
            </div>
            </fieldset>
            <div class="cleared"></div>
            <fieldset>
            <div class="settingrow description" id="divProductDescription" runat="server">
                <div id="divtabs" class="mojo-tabs">
                    <ul>
                        <li class="selected"><a href="#tabInfo">
                            <asp:Literal ID="litInfo" runat="server" /></a></li>
                        <li><a href="#tabDetail">
                            <asp:Literal ID="litDetail" runat="server" /></a></li>
                    </ul>
                    <div id="tabInfo">
                    </div>
                    <div id="tabDetail">
                        <asp:Literal ID="litProductDescription" runat="server" />
                    </div>
                </div>
            </div>
            </fieldset>
            <div class="cleared"></div>
            <fieldset>
            <asp:Panel ID="pnlOthers" runat="server" CssClass="otherpanel">
            <asp:UpdatePanel ID="updatePanel" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                <asp:Panel ID="pnlSimilarOthers" runat="server" CssClass="similar">
                <asp:Label ID="lblSimilarOthers" runat="server" CssClass="title" />
                    <mp:mojoGridView ID="gvSimilarOthers" runat="server" AutoGenerateColumns="false"
                    AllowPaging="true" CssClass="other" ShowHeader="false">
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:HyperLink ID="hplItem" runat="server" Text='<%# Eval("Name") %>' NavigateUrl='<%# FormatProductUrl(Eval("Url").ToString()) %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </mp:mojoGridView>
                    </asp:Panel>
                    <asp:Panel ID="pnlProductOthers" runat="server" CssClass="others">
                <asp:Label ID="lblProductOthers" runat="server" CssClass="title" />
                    <mp:mojoGridView ID="gvProductOthers" runat="server" AutoGenerateColumns="false"
                    AllowPaging="true" CssClass="other" ShowHeader="false">
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:HyperLink ID="hplItem" runat="server" Text='<%# Eval("Name") %>' NavigateUrl='<%# FormatProductUrl(Eval("Url").ToString()) %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </mp:mojoGridView>
                    </asp:Panel>
                    <div class="cleared"></div>
                </ContentTemplate>
            </asp:UpdatePanel>
            </asp:Panel>
            </fieldset>
            <div class="cleared"></div>
        </div>
        </portal:mojoPanel>
        <div class="cleared"></div>
    </asp:Panel>
    <mp:CornerRounderBottom ID="cbottom1" runat="server" />
    </portal:mojopanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" runat="server" />
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
